<?php
if(!isset($_SESSION)) 
{ 
session_start(); 
} 

include '../connection/connection.php';

if ($_REQUEST['idselectpostioncamera']>64){
	$idselectpostioncamera = 1;
}else if ($_REQUEST['idselectpostioncamera']<1){
	$idselectpostioncamera = 64;
}else{
	$idselectpostioncamera = $_REQUEST['idselectpostioncamera'];
}
?>

        	<input type="text" class="intext" style="width:50px" id="idselectpostioncamera" name="idselectpostioncamera"  size="2" maxlength="2" 
        		value="<?php if ($idselectpostioncamera <10 ){echo '0'.$idselectpostioncamera;}else{echo $idselectpostioncamera;}?>"
	            		onkeypress="return validate(event);" onchange="checkDigistLessThan64();"/>
	                	<span style="display: inline-block;" >
	                		<img alt="" src="../images/up.png" style="position: relative; top: -7px; width: 7px; height: 5px; margin-left: -20px;cursor: pointer;" 
	                			onclick="onclickButtonUp()">
	                		<img alt="" src="../images/down.png" style="width: 7px; height: 5px; position: relative; top: 3px; margin-left: -11px;cursor: pointer;" 
	                			onclick="onclickButtonDown()">
	                	</span>